home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / QuickTime / QT Tools / QuickTime Interfacing.sit / QuickTime Interfacing / SeeMovieRun folder / headers / CQTPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-19  |  935 b   |  42 lines  |  [TEXT/KAHL]

  1. /****
  2.  *  CQTPane.h
  3.  *
  4.  *    Pane methods for the QuickTime demo application.
  5.  *
  6.  ****/
  7.  
  8. #define _H_CQTPane            /* Include this file only once */
  9. #include <CPanorama.h>
  10. #include "CMovie.h"
  11.  
  12. struct CQTPane : CPanorama {
  13.     
  14.     CMovie        *itsMoviePane;
  15.     
  16.                                     /** Contruction/Destruction **/
  17.     void        IQTPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  18.                             short aWidth, short aHeight,
  19.                             short aHEncl, short aVEncl,
  20.                             SizingOption aHSizing, SizingOption aVSizing,
  21.                             FSSpec *movieSpec);
  22.  
  23.     void        DoCommand(long theCommand);
  24.     
  25.     void        UpdateMenus(void);  
  26.  
  27.     void        ImportMovie(FSSpec *spec);
  28.     
  29.                                     /** Drawing **/
  30.     void        Draw(Rect *area);
  31.  
  32.                                     /** Mouse **/
  33.     void        DoClick(Point hitPt, short modifierKeys, long when);
  34.     Boolean        HitSamePart(Point pointA, Point pointB);
  35.     
  36.                                     /** Cursor **/
  37.     void        AdjustCursor(Point where, RgnHandle mouseRgn);
  38.  
  39.                                     /** Scrolling **/
  40.     void        ScrollToSelection(void);
  41. };
  42.